package org.ala.tiktools_clickhouse_generator.table;

/**
 *	字段信息
 *
 *	@author ala
 *	@date 2025年6月7日
 */
public class ColumnInfo {
	/**
	 * 	字段名
	 */
	protected String name;
	/**
	 * 	描述
	 */
	protected String remark;
	/**
	 * 	字段类型
	 */
	protected String type;
	/**
	 * 	字段大小
	 */
	protected Integer size;
	
	
	public static ColumnInfo build(String name, String type, Integer size, String remark) {
		ColumnInfo fi = new ColumnInfo();
		fi.name = name;
		fi.type = type;
		fi.size = size;
		fi.remark = remark;
		return fi;
	}
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getSize() {
		return size;
	}
	public void setSize(Integer size) {
		this.size = size;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}
}
